package com.han.responsibility;

/**
 * @ClassName Manager
 * @Description 部门经理类（具体的处理者）
 * @Author duoduo Han
 * @Date 2024/6/14 10:40
 */
public class Manager extends Handler{
    public Manager() {
        super(Handler.NUM_ONE, Handler.NUM_THREE);
    }


    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getDay() + "天,理由:" + leave.getContent());
        System.out.println("部门经理审批:通过");
    }
}
